# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py3-asgiref
pkgver=3.2.10
pkgrel=0
pkgdesc="ASGI specs, helper code, and adapters"
url="https://github.com/django/asgiref/"
arch="noarch"
license="BSD-3-Clause"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/a/asgiref/asgiref-$pkgver.tar.gz"
builddir="$srcdir/asgiref-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="8688d71103dfe569978712481161a88cce9aa6587eacbf29ea42d585817c813625360724d1d561d12456a6580647f9d4a098f194bd780f3c9f7e52a1e0aa8c88  asgiref-3.2.10.tar.gz"
